package mapper.marketingMapper;

import entity.marketingEntity.FlashSaleProduct;
import entity.marketingEntity.FlashSaleProductDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FlashSaleProductMapper {
    int deleteByPrimaryKey(Integer flash_sale_product_id);

    int insert(FlashSaleProduct record);

    int insertSelective(FlashSaleProduct record);

    FlashSaleProduct selectByPrimaryKey(Integer flash_sale_product_id);

    int updateByPrimaryKeySelective(FlashSaleProduct record);

    int updateByPrimaryKey(FlashSaleProduct record);
    List<FlashSaleProductDTO> getFlashSaleProductDetails(@Param("actid")Integer actid, @Param("secid")Integer secid);
}